home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / ACORNUSERS / EMULATOR / MAKETILE / ReadMe < prev   
Text File  |  1997-04-06  |  1KB  |  40 lines

  1. maketiles v0.04
  2. ===============
  3.  
  4. This is a small utility for use with the RISC OS port of the Gameboy
  5. Development Kit (GBDK), and should be put in '!GBDK.bin' with the
  6. other files. It will translate four colour sprite files into tile data
  7. which can be used for Gameboy sprites or background data. Each
  8. sprite's width and height must be a multiple of 8, or it will be
  9. ignored, as the Gameboy can only handle sprites of 8x8 or 8x16. Usage
  10. is as follows:
  11.  
  12.   maketiles [options] <sprite file>
  13.  
  14.   -o --output    file to send output to [tiles]
  15.   -f --format    format of tile data (c or asm/assembler) [c]
  16.   -v --verbose   show information on progress [off]
  17.   -s --standard  generate standard tiles for 0xfc - 0xff [off]
  18.   -h --help      show the help text
  19.  
  20. For example, to make a set of tiles from the sprite file 'GBSprites',
  21. saving the output to 'tiles' in a format usable from a C program:
  22.  
  23.   maketiles gbsprites -o tiles -f c
  24.  
  25. Sprites over 8x8 are tiled in vertical strips, eg a 24x24 sprite is
  26. tiled as follows:
  27.  
  28.   +---+---+---+
  29.   | 1 | 4 | 7 |
  30.   +---+---+---+
  31.   | 2 | 5 | 8 |
  32.   +---+---+---+
  33.   | 3 | 6 | 9 |
  34.   +---+---+---+
  35.  
  36.  
  37. ----------------------------------------------------------------------
  38. Paul Clifford (paul@plasma.demon.co.uk)
  39. April 6 1997
  40.